#{if (userRole == 'Retailer')}
    #{extends 'retailuser.html' /}
#{/if}
#{if (userRole == 'Club')}
    #{extends 'clubuser.html' /}
#{/if}

#{set 'subnavi'}
    #{navigation type:'sub'}
        <li class="#{if selected == 'info' } current-tab #{/if}"><a href="@{Profile.info()}">Profile info</a></li>
        <li class="#{if selected == 'edit' } current-tab #{/if}"><a href="@{Profile.profileEditInfo()}">Edit profile</a></li>
        <li class="#{if selected == 'password' } current-tab #{/if}"><a href="@{Profile.profileChangePwd()}">Change password</a></li>
    #{/ navigation}
#{/ set}

#{doLayout /}